package factory;

import common.CommonDao;
import duck.dao.impl.CommonDaoImpl;

public final class DaoFactory {
	private static CommonDao cd=null;
	public static CommonDao getCommonDao(){
		if(cd==null){
			cd= new CommonDaoImpl();
			return cd;
		}else{
			return cd;
		}
	}
	public static mycommon.model.orm.CommonDao getMyCommonDao(){
		return new mycommon.model.orm.impl.CommonDaoImpl();
	}
}
